<template>
	<view>
		<view class="bb ptb-30 plr-36 flex_l" @click="toDetail(item.product_id)">
			<image :src="item.banner" style="width: 200rpx;height: 200rpx;border-radius: 10rpx;" mode=""></image>
			<view class="ml-20 u-flex-1 over-hidden">
				<view class="bold u-line-2">{{item.name}}</view>
				<view class="flex mt-35">
					<view>
						<!-- <view class="yellow size-26 mb-10">1.2km</view> -->
						<u-rate :count="5" disabled="" active-color="#FF9900" size="38" v-model="item.score"></u-rate>
					</view>
					<!-- <view class="flex flex-column">
						<image src="../static/icon-collection-1.png" style="width: 48rpx;height: 48rpx;" mode=""></image>
						<image src="../static/icon-collection.png" style="width: 48rpx;height: 48rpx;" mode=""></image>
						<view class="gray-2 size-26">收藏</view>
					</view> -->
				</view>
			</view>
		</view>
	
	 </view>
</template>

<script>
	export default {
		props:["item"],
		data() {
			return {
				value:3
			};
		},
		methods:{
			toDetail(id){
				uni.navigateTo({
					url:'/pages/home/good-detail?goods_id='+id
				})
			}
		}
	}
</script>

<style scoped lang="scss">

</style>
